import { defineComponent, h } from "vue";

export const RouterViewImpl = defineComponent({
  name: "RouterView",
  inheritAttrs: false,
  props: {
    name: {
      type: String,
      default: "default",
    },
    route: Object,
  },
  compatConfig: { MODE: 3 },
  setup(props, { slots }) {
    return () => {
      const children = slots.default;
      return h("a", {}, children);
    };
  },
});

export const RouterView = RouterViewImpl;
